const Router = require('koa-router');
const {auth} = require('../middleware/auth.middleware');
const {getFeedbackList,deleteFeedBack} = require('../controller/feedBackController')

const feedBackRouter = new Router({prefix: '/feedback'});

feedBackRouter.get('/list', auth, getFeedbackList)

feedBackRouter.delete('/delete/:id', auth, deleteFeedBack)

module.exports = feedBackRouter;
